package cn.tedu.test.rpc.demo03;

import cn.tedu.test.rpc.common.IUserService;
import cn.tedu.test.rpc.common.User;

public class UserServiceImpl implements IUserService {
    public User findUserById(Long id) {
        return new User(id,"王翠花");
    }

    @Override
    public void saveUser(User user) {
        System.out.println("服务端调用save方法");
    }

    @Override public void updateUser(User user) {
        System.out.println("服务端调用了更新方法");
    }
}
